<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../../js库/mock.js"></script>
    <script src="../../js库/vue.js"></script>
    <title>css浮动练习3</title>
    <style>
        * {         margin: 0; padding: 0;       }
        div#root {
                margin: 50px auto;
            width: 1000px;
            height: 500px;
            background-color: palevioletred;
        }
        div.left {
            float: left;
            width: 25%;
            height: 100%;
            background-color: green;
            background-image: url(/picture/all.jpeg);

        }
        ul {
            list-style: none;
            float: right;
            /* 750px */
            width: 75%;
            /* 500px */
            height: 100%;
            background-color: yellowgreen;
        }
        li {
            float: left;
            background-color: palevioletred;
            margin-left: 10px;
           /* (750-5*10)/4=177.5 */
           width: 175px;
           /* (500-3*10)/2=235 */
           height: 235px;
           margin-top: 10px;
        }
      
    </style>
</head>

<body>
    <div id="root">
        <div class="left"></div>
        <ul>
            <li class="bigin"></li>
            <li class="bigin"></li>
            <li class="bigin"></li>
            <li class="bigin"></li>
           <li class="last"></li>
           <li class="last"></li>
           <li class="last"></li>
           <li class="last"></li>
        </ul>
    </div>
</body>
<script>
    new Vue({
        el: '#root',
        data() {
            return {
            }
        },
    })
</script>

</html>